package enemies;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.doge.*;
import com.doge.Character;

public class FlameDude extends Character
{	
	public FlameDude( TextureRegion t, Tile position){
		super(t,position);

		name = "Flame Dude";
		
		health = 80;
		dogeCoins = 150;
		/*name, statamt, stat(0 = dmg, 1 = healing), energyreq*/
		battleActions.add(new BattleAction("Kindle Flames",5,0,25));
		battleActions.add(new BattleAction("Firebolt",80,0,75));
		battleActions.add(new BattleAction("Sizzle",30,1,0));
	}
	
	public FlameDude( Tile position){
		this(Textures.flameDude, position);
	}
	
	public BattleAction getNextAction()
	{
		energyRegen = 15;
		if(energy >= 75)
			return battleActions.get(1);
		else if (energy >= 25)
		{
			energyRegen = 50;
			return battleActions.get(0);
		}
		else
			energyRegen = 30;
			return battleActions.get(2);
	}
}
